//获取应用实例
const app = getApp();
Page({
	data:{
		imgpath:app.setting.apiimgpath,
   		activeList:{}
	},
	onLoad:function(){
		var that = this;
		app.request('/api/Member/getActiveList', {}, function(res){
			if(res.code == '0'){
				//更新数据
				that.setData({
					activeList:res.data.data
				});
			}
		});
	},
	onShareAppMessage(res){
		return{
			title:'四海唐人街-活动',
			path:'/pages/joinactivity/joinactivity',
			imageUrl:'/images/44.jpg'
		}
	}
})
